import request from '@/utils/request'

// 企业列表
export function companyLists(params: any) {
    return request.post({ url: '/supervise/company/list', params })
}

export function companyAllLists(params: any) {
    return request.get({ url: '/supervise/company/all', params })
}

// 获取数据上传配置
export function getCompanyUploadConfig(params: any) {
    return request.get({ url: '/supervise/company/department/list', params })
}

// 保存数据上传配置
export function saveCompanyUploadConfig(params: any) {
    return request.post({ url: '/supervise/company/department/save', params })
}

// 删除部门
export function deleteCompanyDepartment(params: any) {
    return request.post({ url: '/supervise/company/department/del', params })
}

// 手动发单
export function manualDispatch(params: any) {
    return request.post({ url: '/supervise/company/task', params })
}

